import renderImage from "./image";
import renderList from "./list";
import renderOperation from "./operation";
import type { VNode } from "vue";
import type { ColumnItem } from "../types/index.d";
// 类型映射
const renderers: Record<string, (item: ColumnItem, row: any) => VNode> = {
  images: renderImage,
  list: renderList,
  operation: renderOperation
  // 添加其他类型的渲染函数
};

export default renderers;
